package com.itheima.stock.service;

import com.itheima.stock.pojo.StockBusiness;
import com.itheima.stock.vo.resp.PageResult;
import com.itheima.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author by itheima
 * @Date 2021/12/19
 * @Description 定义股票服务接口
 */
public interface StockService {
//    /**
//     * 获取所有股票信息
//     * @return
//     */
//    List<StockBusiness> getAllStockBusiness();

    /**
     * 获取国内最新大盘指数
     * @return
     */
    R<List<Map>> getInnerStockMarket();

    R<List<Map>> getSectorAllLimit();

    R<List<Map>> getStockIncrease();

    R<PageResult> getStockAll(Integer page, Integer pageSize);

    R<Map> getStockUpdownLimitCount();

    void exportStockExcel(HttpServletResponse response, Integer page, Integer pageSize);

    R<Map> getStockTravolCompare();

    R<Map> getStockUpdownScope();

    R<List<Map>> getStockScreenMinuteSharing(String sotckCode);

    R<List<Map>> getDayKLinData(String stockCode);
}